﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;
using Geleximco.Common;
using Geleximco.Data;
using Geleximco.Common.DTO;

namespace Geleximco.Business {
    public class UsersManager {
        public List<UserView> GetAllUsers() {
            GeleximcoDBDataContext ctx = new GeleximcoDBDataContext();
            return ctx.UserViews.Select(u => u).ToList();
        }
    }
}
